package com.ruoyi.customerService.enums;

public enum CsClaimsBillingRecordsDetailEnum {

    transportCode("transportCode", "运单号"),
    pickupScanNetwork("pickupScanNetwork", "揽收扫描网点"),
    claimType("claimType", "理赔类型"),
    billGenerationDate("billGenerationDate", "账单生成日期"),
    againstMeComplaintAmount("claimSource", "理赔来源"),
    complaintCompensationAmount("complaintCompensationAmount", "投诉赔偿款"),
    violationServiceFee("violationServiceFee", "违规服务费"),
    arbitrationFailureEvidenceFee("arbitrationFailureEvidenceFee", "举证失败仲裁服务费"),
    negotiatedSettlementAmount("negotiatedSettlementAmount", "协商赔付金额"),
    handlingResult("handlingResult", "处理结果"),
    complainantPartyName("complainantPartyName", "投诉方网点"),
    complainantCustodyServiceBranchName("complainantCustodyServiceBranchName", "投诉托管服务网点"),
    defendantParty1Name("defendantParty1Name", "被投诉方1（转运中心）"),
    defendantParty1CustodyServiceBranchName("defendantParty1CustodyServiceBranchName", "被投诉方1托管服务网点（网点）"),
    defendantParty2Name("defendantParty2Name", "被投诉方2（转运中心）"),
    defendantParty2CustodyServiceBranchName("defendantParty2CustodyServiceBranchName", "被投诉方2托管服务网点（网点）");

    private final String code;
    private final String info;

    CsClaimsBillingRecordsDetailEnum(String code, String info) {
        this.code = code;
        this.info = info;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }

    public static String getValue(String code) {
        if (code == null) {
            return "";
        }
        for (CsClaimsBillingRecordsDetailEnum value : CsClaimsBillingRecordsDetailEnum.values()) {
            if (value.code.equals(code)) {
                return value.info;
            }
        }
        return "";
    }
}
